Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetTransitionProperty

You can use the QTVRSetTransitionProperty function to set the value of a transition property.

OSErr QTVRSetTransitionProperty (
                     QTVRInstance qtvr,
                     UInt32transitionType,
                     UInt32transitionProperty,
                     SInt32 transitionValue);
qtvr
An instance of a QuickTime VR movie.
transitionType
A type of transition. See "Transition Type" for a description of the available transition type.
transitionProperty
A type of transition property. See "Transition Properties" for a description of the available transition property types.
transitionValue
The desired value for the specified transition property.
function result
A result code.

DESCRIPTION

The QTVRSetTransitionProperty function sets the value of the transition property whose type is specified by the transitionType and transitionProperty parameters for the movie specified by the qtvr parameter to the value specified by the transitionValue parameter.

Note that calling QTVRSetTransitionProperty simply sets a transition property's value; you must still call QTVREnableTransition to enable that transition effect.

SPECIAL CONSIDERATIONS

QTVRSetTransitionProperty is valid only for panoramic nodes.

SEE ALSO

Use QTVREnableTransition (next) to enable a transition effect.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |